//
//  YGGoodsListModel.h
//  yuanshangyiliao
//
//  Created by icholab on 2021/4/16.
//

#import "JSONModel.h"

NS_ASSUME_NONNULL_BEGIN

@protocol YGGoodsDetailModel;



@interface YGGoodsListModel : JSONModel

@property (nonatomic, strong) NSString *thumbnail;  //产品缩略图
@property (nonatomic, assign) double *price;        //商品价格
@property (nonatomic, strong) NSString *goodsId;    //产品编号
@property (nonatomic, assign) NSInteger num;        //产品数量
@property (nonatomic, strong) NSString *goodsName;  //产品名称
@property (nonatomic, assign) double *rawPrice;     //商品原价
@property (nonatomic, strong) NSArray <YGGoodsDetailModel > *parames;  //商品详情

@end

@interface YGGoodsDetailModel : JSONModel           //商品详情

@property (nonatomic, strong) NSString *paramesId;  //商品属性编号
@property (nonatomic, strong) NSString *paramesName; //商品属性名
@property (nonatomic, strong) NSString *valueId;  //商品属性值编号
@property (nonatomic, strong) NSString *valueName;  //商品属性值名
@end

NS_ASSUME_NONNULL_END
